#ifndef __STD_SQLITEDATABASE_H__
#define __STD_SQLITEDATABASE_H__

#include "stdDataBase.h"
#include <sqlite3.h>

class StdSqliteBase : public StdDataBase
{
public:
    // StdSqliteBase(const std::string & name);
    // ~StdSqliteBase();

    bool connect(const char * localname) override;

    QueryResult query(const std::string & sql) override;

    bool execute(const std::string & sql) override;

    void close() override;
private:
    sqlite3 *m_db ;
    const std::string m_name;


};




#endif //__STD_SQLITEDATABASE_H__